package com.baidu.service;

import com.baidu.entity.PageResult;
import com.baidu.entity.QueryPageBean;
import com.baidu.entity.Result;
import com.baidu.pojo.Permission;
import java.util.List;
public interface PermissionService {
	PageResult pageQuery(QueryPageBean queryPageBean);

	Result add(Permission permission);

	Result delete(Integer id);

	Permission findById(Integer id);

	Result edit(Permission permission);

	public List<Permission> findPermission();
	public Integer[] findPermissionByRoleId(Integer id);
}
